-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Render custom map_index_template on task completion
#49809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3650f91 to
9450ff9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for picking this up.
In addition to the changes I've requested this needs to be done as a Cadwyn API migration please. I haven't yet gotten sons to writing up the contribution docs for this, so is a bit of an exercise to the reader. Docs for it are at https://docs.cadwyn.dev/
airflow-core/src/airflow/api_fastapi/execution_api/datamodels/taskinstance.py
Outdated
Show resolved
Hide resolved
a10af55 to
ea85197
Compare
airflow-core/src/airflow/api_fastapi/execution_api/datamodels/taskinstance.py
Show resolved
Hide resolved
map_index_template on task completion
|
how are you getting along @purnachandergit ? Would like to get this merged soon, since I am planning to cur rc1 in next few days |
|
@kaxil , Got stuck with some other work Working on test cases, will update the pr in 2 days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one unresolved comment from TP that you should reply to -- looks good to me otherwise
|
@purnachandergit does it also fix this issue #39092 ? thaks |
|
I don’t think this (alone) fixes the issue. The value needs to be calculated in the task worker, and then passed to the server via the execution API. This PR adds the field (and passes the value when the worker calculates it), but when you set the task state manually, there’s no worker involved and thus no value calculated. |
…ache#49809) (cherry picked from commit d3dc592) Co-authored-by: Purna Chander Dharam <53432718+purnachandergit@users.noreply.github.com>
Fixes #49224
Implemented rendering of the map index template for both task success and failure cases following task execution.